﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UrlSummary.Models
{
    /// <summary>
    /// URL类型表
    /// </summary>
    /// 创建人：刘靖文
    /// 创建时间：2019/5/8 10:30
    public class UrlTypeModel
    {
        /// <summary>
        /// Gets or sets the row number.序号
        /// </summary>
        /// <value>
        /// The row number.
        /// </value>
        /// 创建者：刘靖文
        /// 创建时间：2019/5/10 13:47
        public long RowNum { get; set; }
        /// <summary>
        /// Gets or sets the type identifier.
        /// </summary>
        /// <value>
        /// The type identifier.
        /// </value>
        /// 创建人：刘靖文
        /// 创建时间：2019/5/8 10:30
        public int TypeId { get; set; }
        /// <summary>
        /// Gets or sets the name of the type.
        /// </summary>
        /// <value>
        /// The name of the type.
        /// </value>
        /// 创建人：刘靖文
        /// 创建时间：2019/5/8 10:30
        public string TypeName { get; set; }
        /// <summary>
        /// Gets or sets the content of the type.
        /// </summary>
        /// <value>
        /// The content of the type.
        /// </value>
        /// 创建人：刘靖文
        /// 创建时间：2019/5/8 10:31
        public string TypeContent { get; set; }

        public DateTime TypeCreateTime { get; set; }

        public string TypeCreateTimeStr
        {
            get
            {
                return TypeCreateTime.ToString("yyyy-MM-dd HH-mm-ss");
            }
        }
    }
}